package com.xuecheng.content.mappers;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuecheng.commons.model.vo.TeachplanVo;
import com.xuecheng.content.domain.Teachplan;

import java.util.List;

/**
 * 课程计划 Mapper 接口
 */
public interface TeachplanMapper extends BaseMapper<Teachplan> {

    //根据课程id，查询课程的章节目录
    List<TeachplanVo> treeNodes(Long courseId);

    List<TeachplanVo> workTree(Long courseId);

}
